package com.hh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hh.entity.domain.Blog;
import com.hh.entity.vo.TagCount;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author hanhui
 * @description 针对表【blog】的数据库操作Mapper
 * @createDate 2025-03-09 13:51:09
 * @Entity com.hh.entity.blog
 */
public interface BlogMapper extends BaseMapper<Blog> {

    void batchUpdateThumbCount(@Param("countMap") Map<Long, Long> countMap);

    void batchUpdateCollectCount(@Param("countMap") Map<Long, Long> countMap);

    List<TagCount> selectTabs();
}




